package com.block.db.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author 
 * @since 2024-09-24
 */
@Getter
@Setter
@TableName("lq_im_user_base_info")
public class ImUserBaseInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * im 用户ID
     */
    @TableId("user_id")
      private String userId;

    /**
     * 昵称
     */
    private String nickname;

    /**
     * 头像
     */
    private String headUrl;

    /**
     * 账户类型
     */
    private String accountType;

    /**
     * 账户ID
     */
    private String accountId;

    /**
     * 状态
     * 0 未注册
     * 1 注册成功
     */
    private Integer status;

      @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

      @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;


}
